package com.ljdemo.lrecorder.utils;

import com.ljdemo.lrecorder.been.VideoInfo;

import java.util.Comparator;

/**
 * 排序工具
 * */
public class VideoInfoListCollections implements Comparator<VideoInfo> {
    @Override
    public int compare(VideoInfo o1, VideoInfo o2) {
        return (int)(o2.getCreateTime()-o1.getCreateTime());
    }
}
